package com.liu.exception;

import java.util.Map;

public class ValidateException extends RuntimeException{


    Map error;//存错误信息

    public ValidateException(Map error) {
        super();
        this.error = error;
    }

    public void setError(Map error) {
        this.error = error;
    }

    public Map getError() {
        return error;
    }
}
